package com.yidu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.SnMaInDetailMapper;
import com.yidu.model.SnMaInventory;
import com.yidu.service.SnMaInDetailService;
/**
 * 库存记录实现类
 * @author chensituo
 * @date 2018年12月3日 下午10:07:56
 */
@Service
public class SnMaInDetailServiceImpl implements SnMaInDetailService{
	/**
	 *注入库存记录mapper
	 */
	@Resource
	SnMaInDetailMapper maInDetailMapper;

	@Override
	public int findCount(Map<String, Object> maps) {
		return maInDetailMapper.findCount(maps);
	}

	@Override
	public List<SnMaInventory> findAll(Map<String, Object> maps) {
		return maInDetailMapper.findAll(maps);
	}
}
